package com.spzx.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.UUID;

@RestController
@Slf4j
public class HelloAopController {

    @GetMapping(value = "/hello")
    public String helloAop(){
        String content = "hello aop"+"\t"+ UUID.randomUUID().toString();
        System.out.println("----content: "+content);
        return content;
    }
}
